package l.l.test;

import org.junit.Test;

import java.util.BitSet;

/**
 * Created by llw on 2018/4/17/0017.
 */
public class LearnBitSet {

    @Test
    public void demo1(){
        BitSet bitSet = new BitSet(10);
        int i = bitSet.cardinality();
        boolean b = bitSet.get(9);
        boolean b1 = bitSet.get(11);
        bitSet.set(128,true);
    }
}
